package com.cqc.jdk7;

import org.junit.Test;

public class NumberTest {

    /**
     * int  long double 数字型用_隔开，它还是完整的数字
     */
    @Test
    public void test() {
        int a = 1_234_56_7;
        System.out.println(a);
        long b = 1_234_567;
        System.out.println(b);
        double c = 1_234_567;
        System.out.println(c);
        float d = 1_234_567;
        System.out.println(d);
    }
}
